/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.framework.air.core.client.impl.skyecho.dto.searchflight;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 舱位信息
 *
 * @author hesx
 */
@Data
public class SkyechoClassRespDTO {
    /**
     * 舱位代码
     */
    @JsonProperty("code")
    private String code;
    /**
     * 舱位名称
     */
    @JsonProperty("class_name")
    private String className;
    /**
     * 优惠代码
     */
    @JsonProperty("sale_code")
    private String saleCode;
    /**
     * 剩余数量
     * A/数字 – 有舱位
     */
    @JsonProperty("status")
    private String status;
    /**
     * 机票价格（不含燃油税、机场税）
     */
    @JsonProperty("price")
    private BigDecimal price;
    /**
     * 优惠票价
     */
    @JsonProperty("pfprice")
    private BigDecimal pfPrice;
    /**
     * 折扣公司代码
     */
    @JsonProperty("corpid")
    private String corpId;
    /**
     * 折扣（100=100%;90=90%..）
     */
    @JsonProperty("discount")
    private BigDecimal discount;
    /**
     * 改签规定
     */
    @JsonProperty("cmt")
    private String cmt;
    /**
     * 退票规定
     */
    @JsonProperty("refund")
    private String refund;
    /**
     * 签注信息
     */
    @JsonProperty("ei")
    private String ei;
    /**
     * 成人价的运价来源
     * 成人价的运价来源: PUB/NET/FBR_PUB/FBR_N
     */
    @JsonProperty("price_type")
    private String priceType;
    /**
     * 儿童价
     */
    @JsonProperty("price_c")
    private BigDecimal priceC;
    /**
     * 儿童价的运价来源
     * 儿童价的运价来源: PUB/NET/FBR_PUB/FBR_N
     */
    @JsonProperty("price_type_c")
    private String priceTypeC;
    /**
     * 婴儿价
     */
    @JsonProperty("price_b")
    private BigDecimal priceB;
    /**
     * 婴儿价的运价来源
     * 婴儿价的运价来源: PUB/NET/FBR_PUB/FBR_N
     */
    @JsonProperty("price_type_b")
    private String priceTypeB;
    /**
     * 公布运价
     */
    @JsonProperty("public_price")
    private BigDecimal publicPrice;
    /**
     * 服务等级
     */
    @JsonProperty("service_code")
    private String service_Code;
    /**
     * 行李额
     */
    @JsonProperty("baggage")
    private String baggage;
}
